package com.yellowpage.alarm.service;

import java.util.Map;


/**
 * 告警信息通知工厂
 * @author leasass
 *
 */
public class AlarmInfoNotifyFactory {
	/**
	 * 告警信息通知业务接口Map key=通知类型  vlaue=告警信息业务接口实现类
	 */
	public Map<String,AlarmInfoNotifyService> notifyServiceMap;

	public Map<String, AlarmInfoNotifyService> getNotifyServiceMap() {
		return notifyServiceMap;
	}

	public void setNotifyServiceMap(
			Map<String, AlarmInfoNotifyService> notifyServiceMap) {
		this.notifyServiceMap = notifyServiceMap;
	}

	
	public AlarmInfoNotifyService getAlarmInfoNotifyService(String informType)
	{
		return this.notifyServiceMap.get(informType);
	}
}
